﻿namespace ScriptEase
{
    /// <summary>
    /// An <c>IWorkspaceMapper</c> is used to map a CRM WebResource
    /// to a file in the local Workspace.
    /// </summary>
    public interface IWorkspaceMapper
    {
        void Initialize(Workspace workspace);

        /// <summary>
        /// Get the full path to the local WebResource's file.
        /// </summary>
        string GetFilePath(WebResource webResource);
    }
}